package com.lintf.flowable.token.exception;

/**
 * @author lin tingfeng
 * @system Mac
 * @data 2024/5/17 09:43
 * @package_name com.qtone.config.token.exception
 * @project_name ZHXLProject
 * @desc
 */
public class LoginException extends RuntimeException {

    private int errorCode;

    public LoginException(String msg) {
        super(msg);
    }

    public LoginException(String msg, int errorCode) {
        super(msg);
        this.errorCode = errorCode;
    }

    public int getErrorCode() {
        return errorCode;
    }
}
